
class exportrestaurant():
    def __init__(self , res = None ):
        if(res != None ):                 
            self.name =  res.name
            self.anothername = res.anothername
            self.tastestyle =  res.tastestyle
            self.address =   res.address
            self.nearby = res.nearby
            self.gpsposition_x = res.gpsposition_x
            self.gpsposition_y = res.gpsposition_y         
            self.phone1 =   res.phone1
            self.phone2 =   res.phone2         
            self.open = res.open
            self.close = res.close            
            self.howtogetthere = res.howtogetthere
            self.id = res.id
        else:
            self.name =  None
            self.anothername = None
            self.tastestyle =  None
            self.address =   None
            self.nearby = None
            self.gpsposition_x = None
            self.gpsposition_y = None         
            self.phone1 =   None
            self.phone2 =   None       
            self.open = None
            self.close = None           
            self.howtogetthere = None
            self.id = None
            
class exportreslineinfo():
    def __init__(self , res = None ):
        if(res != None ):    
            self.queuestartflag = res.queuestartflag
            self.queuenextcallnum = res.queuenextcallnum
            self.queuenextdistributenum = res.queuenextdistributenum
                   
        else:
            self.queuestartflag = None
            self.queuenextcallnum = None
            self.queuenextdistributenum = None
                   
class exportuser():
    def __init__(self , user = None ):
        if(user != None ):
            self.username = user.username
            self.email = user.email
        else:
            self.username = None
            self.email = None